using Vin.Tool.Attributes;

namespace Vin.Extension.Exception.Options;

[Option("VinException")]
public class ExceptionOption
{
    /// <summary>
    /// 是否显示堆栈信息
    /// </summary>
    public bool ShowStackTrace { get; set; } = false;
    
    /// <summary>
    /// 错误显示信息
    /// </summary>
    public string? ErrorMsg { get; set; } = "服务器内部错误";

}